class Message < ActiveRecord::Base
  belongs_to :sender, :class_name => 'User', :foreign_key => 'send_user_id'
  has_one :reciver, :class_name => 'User', :foreign_key => 'receive_user_id'
end
